package com.atguigue.service.impl;

import com.atguigue.annotation.Bean;
import com.atguigue.annotation.Di;
import com.atguigue.dao.UserDao;
import com.atguigue.service.UserService;

/**
 * @author: Michael
 * @date: 2025/5/14
 * @desc:
 */
@Bean
public class UserServiceImpl implements UserService {

    @Di
    private UserDao userDao;

    @Override
    public void add() {
        System.out.println("UserServiceImpl add方法执行了");
        userDao.add();
    }
}
